package com.shadowtorcher.TableRolePlayingSystem.dao;

import java.util.List;

import com.shadowtorcher.TableRolePlayingSystem.bean.Chatlogs;
import org.apache.ibatis.annotations.Param;
public interface ChatlogsDao {
	public void addlogs(Chatlogs chatlog);

	public Chatlogs showLogs(@Param("roomID") String roomID,@Param("chatID") int chatID);

	public Chatlogs MaxchatID(@Param("roomID") String roomID);
	
	public Chatlogs getLogByRoomAndSerial(@Param("roomID") String roomID,@Param("chatID") int chatID );
	
	public Chatlogs getCurrentByRoom(@Param("roomID") String roomID);
}
